﻿#ifndef LOADING_H
#define LOADING_H

#include <QWidget>

//加载动画

class Loading : public QWidget {
  Q_OBJECT
 public:
  explicit Loading(QWidget* parent = nullptr);

 signals:
 protected:
  void paintEvent(QPaintEvent* event);

 private:
  QPixmap m_bk;
  QPixmap m_progress;
  int m_dist = 15;
};

#endif  // LOADING_H
